package ua.com.stormlabs.tiny.licenseserver.storage;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.transaction.annotation.Transactional;
import ua.com.stormlabs.tiny.licenseserver.storage.entities.LicenseEntity;

/**
 * @author mbondarenko
 * @version 1.0 7/31/12
 */
@Transactional(readOnly = true)
public interface LicensesRepository extends JpaRepository<LicenseEntity, Integer> {

    LicenseEntity findByLicenseName(String licenseName);
}
